package com.yanqu.road.entity.statistics;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 每日统计
 */
@FieldTypeAnnotation(tableName = "t_u_statistics_ability")
public class AbilityStatistics extends DataObject {

    @FieldTypeAnnotation(desc = "服务器ID", select = true)
    private long serverId;
    @FieldTypeAnnotation(desc = "当天0点", select = true)
    private long zeroTime;
    @FieldTypeAnnotation(desc = "上线玩家门客总赚钱")
    private long ability;

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getZeroTime() {
        return zeroTime;
    }

    public void setZeroTime(long zeroTime) {
        this.zeroTime = zeroTime;
    }

    public long getAbility() {
        return ability;
    }

    public void setAbility(long ability) {
        if (this.ability != ability) {
            this.ability = ability;
            setUpdateOption();
        }
    }
}
